package vmcs.entity;

import vmcs.utility.ReflectionUtils;


public class Coin extends StoreObject {

    private int value;
    private double weight;

    public Coin () {
    }
   /* public Coin (int value, double weight) {
        this.value = value;
        this.weight = weight;
    }
*/
    public void setValue(int v){
      value = v;
    }

    public void setWeight(double wt){
      weight = wt;
    }


    public double getWeight () {
        return (weight);
    }

    public int getValue () {
        return (value);
    }
    
    @Override
    public String toString() {
    	return ReflectionUtils.toString(this);
    }

}

